package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 【请填写功能名称】对象 pro
 *
 * @author ruoyi
 * @date 2024-07-24
 */
public class Pro extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** $column.columnComment */
	private Long id;
	private List<Pro> children;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String name;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String img;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String weight;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String status;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private Long pid;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private Long isdel;

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId()
	{
		return id;
	}
	public void setName(String name)
	{
		this.name = name;
	}

	public String getName()
	{
		return name;
	}
	public void setImg(String img)
	{
		this.img = img;
	}

	public String getImg()
	{
		return img;
	}
	public void setWeight(String weight)
	{
		this.weight = weight;
	}

	public String getWeight()
	{
		return weight;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}
	public void setPid(Long pid)
	{
		this.pid = pid;
	}

	public Long getPid()
	{
		return pid;
	}
	public void setIsdel(Long isdel)
	{
		this.isdel = isdel;
	}

	public Long getIsdel()
	{
		return isdel;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("name", getName())
				.append("img", getImg())
				.append("weight", getWeight())
				.append("status", getStatus())
				.append("pid", getPid())
				.append("isdel", getIsdel())
				.append("children", getChildren())
				.toString();
	}

	public List<Pro> getChildren() {
		return children;
	}

	public void setChildren(List<Pro> children) {
		this.children = children;
	}
}
